package com.newtouch.bxzs.syslog.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 异常日志信息BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月18日</td>
 * <td>renyi</td>
 * <td>Update</td>
 * </tr>
 * </table>
 *
 * @author renyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("异常日志信息BO")
public class LogErrorBO implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -3512827418053876561L;

	@ApiModelProperty(value = "主键 uuid")
	private String errorLogId;

	@ApiModelProperty(value = "出现异常的IP地址")
	private String ipAddress;

	@ApiModelProperty(value = "异常时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date errorOccurrenceTime;

	@ApiModelProperty(value = "发生异常的类名")
	private String errorClassName;

	@ApiModelProperty(value = "发生异常的方法名")
	private String errorMethodName;

	@ApiModelProperty(value = "异常类型")
	private String errorTypeName;

	@ApiModelProperty(value = "异常详细描述")
	private String errorDescription;

}
